package com.ruoyi.behindDoctor.mapper;

import com.ruoyi.behindDoctor.domain.yDocDepartment;
import java.util.List;

/**
 * 科室Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public interface yDocDepartmentMapper {
    /**
     * 查询所有科室（用于下拉框）
     * @return 科室列表
     */
    List<yDocDepartment> selectAllDepartments();

    /**
     * 根据科室ID查询科室
     * @param departmentId 科室ID
     * @return 科室信息
     */
    yDocDepartment selectDepartmentById(Integer departmentId);
}